bitkeeper revision 1.7.3.36 (3e01cbdaMZDg_GWPi5Dq9Be8MB7Zng)
authorlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>
Thu, 19 Dec 2002 13:38:34 +0000 (13:38 +0000)
committerlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>
Thu, 19 Dec 2002 13:38:34 +0000 (13:38 +0000)
debug

xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c

index 2319b10c3935caae028dd64e5690612736d739a4..1d9744c68e869b3cd498a4a155ac7ab334a14391 100644 (file)
@@ -170,6 +170,9 @@ static ssize_t dom_mem_read(struct file * file, char * buff, size_t size, loff_t
     prot = PAGE_SHARED; 
 
     /* remap the range using xen specific routines */
+
+       printk(KERN_ALERT "bd240 debug: dom_mem_read: %lx, %lx\n", mem_data->pfn << PAGE_SHIFT, mem_data->tot_pages << PAGE_SHIFT);
+
     addr = direct_mmap(mem_data->pfn << PAGE_SHIFT, mem_data->tot_pages << PAGE_SHIFT, prot, 0, 0);
     //addr = direct_mmap(mem_data->pfn, mem_data->tot_pages << PAGE_SHIFT, prot, 1, 
     //                mem_data->tot_pages);
@@ -217,6 +220,8 @@ static int dom_map_mem(unsigned int dom, unsigned long pfn, int tot_pages)
                 memdata->tot_pages = tot_pages;
                 file->data = memdata;
 
+                               printk(KERN_ALERT "bd240 debug: cmd setup dom mem: %lx, %d\n", memdata->pfn, memdata->tot_pages);
+
                 ret = 0;
                 break;
             }